package com.bolt.report.engine.model;

public class GroupInfo {



    private DataRange range;

    private Boolean haveCalculator;

    public GroupInfo( DataRange range, Boolean haveCalculator) {

        this.range = range;
        this.haveCalculator = haveCalculator;
    }

    public Boolean getHaveCalculator() {
        return haveCalculator;
    }

    public void setHaveCalculator(Boolean haveCalculator) {
        this.haveCalculator = haveCalculator;
    }



    public DataRange getRange() {
        return range;
    }

    public void setRange(DataRange range) {
        this.range = range;
    }

    public int step() {
        return this.range.getEnd() - this.range.getStart();
    }
}